﻿<!DOCTYPE html><html>
<head>
<title>Main Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="generator" content="Wakanda GUIDesigner"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
	<meta name="wakanda-version" content="3 build 3.124119"/>
		<meta name="wakanda-build" content="3.124119"/>
		<meta name="WAF.config.loadCSS" id="waf-palette" content="/walib/WAF/widget/palette/css/widget-palette-default.css"/>
		<meta name="WAF.config.loadCSS" id="waf-interface-css" content="styles/index.css"/>
		<meta name="WAF.config.loadCSS" id="waf-project-css" content="/application.css"/>
</head>

<body id="waf-body" data-workspace-width="0" data-workspace-orientation="portrait" data-workspace-height="0" data-viewport-width="device-width" data-viewport-minimum-scale="1.0" data-viewport-maximum-scale="1.0" data-viewport-initial-scale="1.0" data-type="document" data-theme="default" data-rpc-validation="false" data-rpc-namespace="rpc" data-rpc-activate="false" data-platform="desktop" data-lib="WAF" data-apple-meta-tags-status-bar="default" class="default" style="visibility:hidden;">
		<script type="text/javascript" src="/engine-core/geometric/JSUtils.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Circle.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Line.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/MathUtils.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Point2D.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Polygon.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Rectangle.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Transform.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/TransformUtils.js"></script>
		<script type="text/javascript" src="/engine-core/geometric/Vector2D.js"></script>

		<canvas width="800" id="canvas1" height="600"></canvas>

		<script type="text/javascript" src="/waLib/WAF/Loader.js"></script>

<script> 
var rec = new Rectangle().initialize(0,0,800,600);
var canvas = document.getElementById('canvas1'); 
var c = canvas.getContext('2d'); 
c.fillStyle = "blue"; 
c.fillRect(rec.x, rec.y, rec.width, rec.height); 
</script>
</body>
</html>